<?php
session_start();
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body onload="startclock()" bgcolor='#EFEFEF'>

    <div class="titulo">
        <div class="login">
            <?php
            echo "<table>";
            if (isset($_SESSION["NomeUsuario"]) && isset($_SESSION["IdUsuario"]) && isset($_SESSION["TipoDeUsuario"])) {

                    echo "<tr><td>Usuário:" . $_SESSION["NomeUsuario"];
                    //BOTÃƒO SAIR
                    echo "<td><form action='logout.php' method='post'>";
                    echo "<input type='submit' value='SAIR' class='btnExcluir'/>";
                    echo "</form>";
                    echo "<td><label class=''><a href=\"usuario.php\">  Trocar Senha</a><br/></label>";
            } else {
                if ($_SERVER['SCRIPT_NAME'] != '/tocan/login.php') {
                    
                }
            }
            echo "</table>";
            ?>

        </div>
</html>



